package iedcyt.acute.controller.listeners.menu;

import iedcyt.acute.model.MenuModel;
import iedcyt.acute.view.MainMenu;
import iedcyt.acute.view.ViewUtils;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

public class ErrorLogListener extends MenuCommonListener implements SelectionListener {
	
	
	public ErrorLogListener(MenuModel _model, MainMenu _view) {
		super(_model, _view);
		
	}

	/**
	 * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
	 */
	@Override
	public void widgetDefaultSelected(SelectionEvent arg0) {}

	/**
	 * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
	 */
	@Override
	public void widgetSelected(SelectionEvent arg0) {
		ViewUtils.getInstance().openErrorLogView();


	}

}
